package com.weidey.blogWeb.domain;

import lombok.Data;

@Data
public class WebCountRecord {

    private Integer targetType;
    private Long targetId;
    private Integer countType; // 1:点赞 2:收藏 3:粉丝
    private Integer countDelta;

    public WebCountRecord(Integer targetType, Long targetId, int countType, Integer countDelta) {
        this.targetType = targetType;
        this.targetId = targetId;
        this.countType = countType;
        this.countDelta = countDelta;
    }
}
